//
//  icanplanViewController.h
//  icanplan
//
//  Created by eric on 11-9-12.
//  Copyright 2011年 eric. All rights reserved.
//

#import <UIKit/UIKit.h>

#ifndef IBOutlet
#define IBOutlet
#endif

#define kShowSegmentIndex 0

@interface icanplanViewController : UIViewController <UIActionSheetDelegate> {
    IBOutlet UITextField    *usernameField;
    IBOutlet UITextField    *passwordField;
    IBOutlet UILabel        *sliderLabel;
    IBOutlet UISwitch       *leftSwitch;
    IBOutlet UISwitch       *rightSwitch;
    IBOutlet UIView         *switchView;
    IBOutlet UIButton       *deleteButton;
}

@property(nonatomic, retain) UITextField    *usernameField;
@property(nonatomic, retain) UITextField    *passwordField;
@property(nonatomic, retain) UILabel        *sliderLabel;
@property(nonatomic, retain) UISwitch       *leftSwitch;
@property(nonatomic, retain) UISwitch       *rightSwitch;
@property(nonatomic, retain) UIView         *switchView;
@property(nonatomic, retain) UIButton       *deleteButton;

-(IBAction)textFieldDoneEditing:(id)sender;
-(IBAction)backgroundClicked:(id)sender;
-(IBAction)switchChanged:(id)sender;
-(IBAction)toggleShowHide:(id)sender;
-(IBAction)deleteData:(id)sender;

@end
